import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//查询德育基本分
export function getMoralEducation(data) {
  return request({
    url: baseUrl + "/pc/moral-education-basic",
    method: "get",
    params: data
  });
}

//更新德育基础分
export function updateMoralEducation(data) {
  return request({
    url: baseUrl + "/pc/moral-education-basic",
    method: "put",
    data
  });
}

//初始化基础德育分
export function InitializeMoralEducation(data) {
  return request({
    url: baseUrl + "/pc/moral-education-basic/" + data,
    method: "post",
  });
}